import Vue from 'vue'
import Vuex from 'vuex'
import getters from './module-example/getters'
import example from './module-example'
import common from './module-example/common'
import tags from './module-example/tags'
Vue.prototype.$bus = new Vue();
Vue.use(Vuex)

/*
 * If not building with SSR mode, you can
 * directly export the Store instantiation;
 *
 * The function below can be async too; either use
 * async/await or return a Promise which resolves
 * with the Store instance.
 */


  const Store = new Vuex.Store({
    modules: {
      common,
      tags
    },
    getters
  })

  export default Store

